﻿$def with (hosts, host)

$:render.header(host.ip)

$:render.host_list(hosts)

<form action="/host/edit" method="post">
    <p>
        username: <input type="text" name="username" value="$host.username" />
        <br />
        password: <input type="password" name="password" value="" />
        <br />
        can sudo: <input type="checkbox" name="sudo" value="yes" />
        <br />
        <input type="hidden" name="ip" value="$host.ip" />
        <input type="submit" />
    </p>
</form>

<a href="/host/$host.ip/explorer">Explorer</a>

<form action="/host/command/ping" method="post">
    <p>
        <input type="hidden" name="ip" value="$host.ip" />
        <input type="submit" value="Ping" />
    </p>
</form>